# Maintainer: Arnav Singh <me@arnavion.dev>
pkgname=pinephone-callaudiod
pkgver=0.1.3
pkgrel=0
pkgdesc="Call audio routing daemon"
url="https://github.com/Arnavion/pinephone-callaudiod"
arch="noarch"
license="AGPL-3.0-only"
makedepends="make"
depends="
	python3
	py3-dasbus
	cmd:amixer
	cmd:pactl
	"
provides="callaudiod=$pkgver-r$pkgrel"
provider_priority=1
source="
	$pkgname-$pkgver.tar.gz::https://github.com/Arnavion/pinephone-callaudiod/archive/v$pkgver.tar.gz
	"

build() {
	return 0
}

package() {
	make DESTDIR="$pkgdir" prefix=/usr libexecdir=/usr/lib install
}

sha512sums="
ae70947ebb52849b0e5429d0740240986b832975e470bbbe7122c3be5eb25df6b725e44c50cfd33a239219172b9dc344f457e298dec9531791728ff33cf769ee  pinephone-callaudiod-0.1.3.tar.gz
"
